package old.property;

import java.util.Date;

public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {

        var data = new Date();
        var video = new Video("原创视频",data);

        Video clone = (Video) video.clone();
        clone.setName("clone 的视频");
        data.setTime(1000);

        System.out.println(video);
        System.out.println(clone);


    }
}
